package org.jsemantic.servicerules.examples.energy;


import org.jsemantic.servicerules.examples.energy.services.InvoiceService;

public class EnergyInvoiceApp {

	private static final org.apache.log4j.Logger log = org.apache.log4j.Logger
			.getLogger(EnergyInvoiceApp.class);

	public static InvoiceService invoiceService = InvoiceServiceFactory
			.getInstance();

	public static MockDataGeneration generator = new MockDataGeneration();

	public static void main(String args[]) {
		
		Process proc = new Process(5);
		proc.start();
		
		Process proc2 = new Process(10);
		proc2.start();
		
		try {
			proc2.join();
		} catch (InterruptedException e) {
			log.error(e);
		}
		
	}
}
